<head><?php $this->load->view('load_view') ?></head>
<?php
	$list=array(	array(
						  'The Zen of CSS Design',
						  'Mr.A'
						  ),
					array(
						  'javascript',
						  'Mr.B'
						  ),
					array(
						  'Regexp',
						  'Mr.C'
						  ),
					array(
						  'ActionScript',
						  'Mr.D'
						  )

				);
?>
<div class="col-wrap handin-wrap">
    <!--start col-->
    <div class="col handin">

        <div class="wrap-title">
            <p class="page-title">浏览历史课业</p>
        </div>
        <p class="desc bg">
            页面提示：默认显示的为本学期的作业记录，你可以通过下面的按钮来选择学期或课程查看
        </p>
        <div class="itemtitle">
            <h3>课业选择</h3>
            <ul class="selectNav">
                <li><a href="<?php echo site_url('home/accordingterm');?>" target="main" id="selectTerm"><span>按学期选择</span></a></li>
                <li><a href="<?php echo site_url('home/accordingcourse');?>" target="main" id="selectCourse"><span>按课程选择</span></a></li>
                <li><a href="<?php echo site_url('home/assignlist');?>"  target="main"><span>课业列表</span></a></li>
            </ul>

            <div class="clear"></div>

        </div>
        <div id="selectPage">
            <!--start term-wrap-->
    <div class="list term-wrap">
    	<table cellpadding="1" id="sortTable" class="sortTable">
		<thead>
				<tr>
					<th><p>选择课程</p></th>
					<th><p>任教老师</p></th>
				</tr>
			</thead>
			<tbody>
				<?php
					for($i=0;$i<count($list);$i++){
				?>
                <tr class="toggle">
               		<td><a href="index.php?class=java"><?php echo $list[$i][0]; ?></a></td>
                    <td><?php echo $list[$i][1]; ?></td>
                </tr>
				<?php
					}
				?>
			</tbody>
		</table>

    </div>
    <!--end term-wrap-->
        </div>
    </div>
    <!--end col-->
</div>
<!--end col-wrap-->
<script>
    $(window.parent.document).find("ul.nav li a").removeClass("then");
    $(window.parent.document).find("a#select").attr("class","then");
    $('ul.selectNav li').eq(1).addClass('current');
</script>